//
//  TextUtil.h
//  TableBarControllerDemo
//
//  Created by 边果互动 on 2021/3/19.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface TextUtil : NSObject

+ (CGSize) text2Size: (NSString *) text andMaxSize: (CGSize) maxSize andFont: (UIFont *) font;

+ (BOOL) isEmpty:  (NSString *) text;

@end

NS_ASSUME_NONNULL_END
